assert_fails
Asserts that a function fails to evaluate
Alias
Alias target
Since
0.11.0
Parameters
fn
Function to evaluate
Asserts that a function fails with an expected message
Alias
Alias target
Since
0.11.0
Parameters
expected_message
String that should be contained in the error message
fn
Function to evaluate